package CollectionDemo.QueueImplement;

public class Test {
    public static void main(String[] args) {
        MyQueue myQueue = new MyQueue();
        myQueue.poll();
        myQueue.offer(1);
        myQueue.poll();
        myQueue.offer(2);
        myQueue.offer(3);
        myQueue.offer(4);
        System.out.println(myQueue);
        myQueue.poll();
        System.out.println(myQueue);
    }
}
